
package edu.tongji.jiaowu.service.impl;
 
import java.util.List;
import com.tongji.quickCRUDQ.service.impl.BaseManagerImpl;
import edu.tongji.jiaowu.dao.ExternalScoreDao;
import edu.tongji.jiaowu.service.ExternalScoreManager;
import com.tongji.quickCRUDQ.model.CommonBean;

public class ExternalScoreManagerImpl extends BaseManagerImpl implements ExternalScoreManager {
        private ExternalScoreDao externalScoreDao;

	
	public CommonBean createExternalScore(){
                return externalScoreDao.createExternalScore();		
	}
	
/*
	public CommonBean findExternalScores(String refid) {
                return externalScoreDao.findExternalScores(refid);
       }
*/
	public CommonBean findExternalScoreById(String id){
                return externalScoreDao.findExternalScoreById(id);
       }	
	public CommonBean findAllExternalScores() {
                return externalScoreDao.findAllExternalScores();
       }
	public void insertExternalScore(CommonBean externalScoreBean){
               externalScoreDao.insertExternalScore(externalScoreBean);
	}
	public void updateExternalScore(CommonBean externalScoreBean){
               externalScoreDao.updateExternalScore(externalScoreBean);
	}
	
	public ExternalScoreDao getExternalScoreDao(){
		return externalScoreDao;
        }	
        
  public void setExternalScoreDao(ExternalScoreDao externalScoreDao){
          this.externalScoreDao=externalScoreDao;	
  }

public boolean check(String entryType, String studentNo) {
	return externalScoreDao.check(entryType,studentNo);
}        		
}

